<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面设计</title>
    <style>
        form {
            width: 260px;
            margin: 0 auto;
            border: 1px solid rgb(163, 158, 158);
        }
        
        .right {
            float: right;
        }
        
        div {
            text-align: center;
        }
    </style>
</head>

<body>
    <form action="#" method="post">
        用户名：
        <input class="right" type="text" value="张三" maxlength="10">
        <br><br> 密码：
        <input class="right" type="password" value="1232456">
        <br><br>
        <div>
            <input class="t1" type="submit">
        </div>
    </form>
</body>

</html>